﻿using Abp.Dependency;

namespace AbpProjectTemplate.Components.Configuration
{
    public class AutoSettingsBase<TSettings> : IAutoSettings
        where TSettings : AutoSettingsBase<TSettings>
    {
        /// <summary>
        /// 获取系统配置实例
        /// </summary>
        public static TSettings Instance
        {
            get { return IocManager.Instance.Resolve<TSettings>(); }
        }
    }
}
